package com.lin.setting.controller;

import com.lin.setting.service.SysUserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @作者: 林江
 * @创建时间: 2024/5/3
 * @功能:
 */
@RestController
@RequestMapping("/user")
public class SysUserController {
    @Resource
    SysUserService sysUserService;

    @GetMapping("/getInfo")
    public Object getInfo(){
        return sysUserService.getInfo();
    }

}
